import request from "../utils/request";

export function getCateAll() {
  return request({
    method: 'GET',
    url: "/cate/all"
  })
}

export function getCateById(cateId) {
  return request({
    method: 'GET',
    url: `/stuff/${cateId}`
  })
}

export function addOrder(data) {
  return request({
    method: "POST",
    url: "/order/add",
    data
  })
}